package com.szl.springboot.model;

import com.szl.springboot.model.base.IdEntity;

import javax.persistence.*;

@Table(name = "sys_role")
public class SysRole extends IdEntity {

    private String name;

    private Integer seq;

    private String description;

    private Integer isdefault;

    /**
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return seq
     */
    public Integer getSeq() {
        return seq;
    }

    /**
     * @param seq
     */
    public void setSeq(Integer seq) {
        this.seq = seq;
    }

    /**
     * @return description
     */
    public String getDescription() {
        return description;
    }

    /**
     * @param description
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * @return isdefault
     */
    public Integer getIsdefault() {
        return isdefault;
    }

    /**
     * @param isdefault
     */
    public void setIsdefault(Integer isdefault) {
        this.isdefault = isdefault;
    }
}